
package com.zzxy.spring5.service.impl;

import com.zzxy.spring5.service.IUserService;
import org.springframework.stereotype.Controller;
@Controller
public class TeacherServiceimpl {
    private TeacherDaoImpl teacherDao;

    public TeacherDaoImpl getTeacherDao() {
        return teacherDao;
    }

    public void setTeacherDao(TeacherDaoImpl teacherDao) {
        this.teacherDao = teacherDao;
    }

    public void reqister(String username, String password) {
        teacherDao.reqister(username,password);
    }
}
